package com.guang.springbootmybatisbatchoperate;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan(basePackages = "com.guang.springbootmybatisbatchoperate.dao")
// 添加事务操作
@EnableTransactionManagement
public class SpringbootMybatisBatchOperateApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootMybatisBatchOperateApplication.class, args);
    }

}
